package com.hualan.sfzy.service;

import com.hualan.sfzy.entity.Fm;
import com.hualan.sfzy.mapper.FmMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public interface FmService extends BaseService<Fm>{

    @Override
    int add(Fm entity);

    int addSelective(Fm entity);

    @Override
    int edit(Fm entity);

    @Override
    int remove(Integer id);

    @Override
    int removeBatch(Integer[] ids);

    @Override
    List<Fm> find();

    @Override
    Map<String, Object> findPage(Integer pageNum, Integer pageSize, Fm entity);

    @Override
    Fm findById(Integer id);

    List<Fm> findFmAndFmClassificationAll();

    Fm findFmAndFmClassificationById(Integer id);
}
